package net.tbao.product.feign;

import net.tbao.common.utils.R;
import net.tbao.product.feign.fallback.ProtectFeignServiceFallBack;
import net.tbao.product.vo.PersonalVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 远程调用会员服务
 * 查询会员个人信息
 */
@FeignClient(value = "taobao-member",fallback = ProtectFeignServiceFallBack.class)
public interface PersonalFeignService {

    @GetMapping("/member/member/personal")
    R queryByPersonal(PersonalVo vo);
}
